package com.lsh.payment.core.strategy.config;

import com.lsh.payment.core.util.PropertiesUtil;
import org.springframework.stereotype.Component;
/**
 * Project Name: lsh-payment
 * Created by miaozhuang on 16/10/26.
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
@SuppressWarnings("all")
@Component
public class AllinPayConfig {

    public static final String CUS_ID = PropertiesUtil.getValue("allin.cusId");
    public static final String APP_ID = PropertiesUtil.getValue("allin.appId");
    public static final String KEY = PropertiesUtil.getValue("allin.key");

    public static final String PAY_BASE = "https://vsp.allinpay.com/apiweb/";
    public static final String PAY_NATIVE = "unitorder/pay";
    public static final String PAY_QUERY = "unitorder/query";
    public static final String PAY_BSM = "unitorder/scanpay";
    public static final String PAY_BILL = "trxfile/get";

    public static final String Bill_TYPE = "SUCCESS";

    //通信成功
    public static final String REQUEST_SUCCESS = "SUCCESS";
    //下单成功 或 交易成功
    public static final String TRADE_STATE_SUCCESS = "0000";

    //商品名
    public static final String GOODS_NAME = "订单-支付";
    public static final String ALLIN_PAY_TITLE = "支付订单";

    //00	微信
    public static final String PAY_CHANNEL_WX = "00";
    //01	支付宝
    public static final String PAY_CHANNEL_ALI = "01";

    //拉卡拉下载文件名
    public static final String ALLIN_BILL_ZIP_NAME = "allin_bill_{0}.zip";





}
